package com.lmqb.service;

import com.lmqb.bean.SysActivity;
import com.lmqb.bean.SysNotice;
import com.lmqb.page.ActivePager;
import com.lmqb.page.FeedbackPager;
import com.lmqb.page.InnerMsgPager;
import com.lmqb.page.NoticePager;
import com.lmqb.page.QuestionPager;
import com.lmqb.page.SmsCodePager;

public interface MsgService {

	NoticePager selectNoticePager(NoticePager pagerModel);

	ActivePager selectActivePager(ActivePager pagerModel);

	QuestionPager selectQuestionPager(QuestionPager pagerModel);

	InnerMsgPager selectInnerMsgPager(InnerMsgPager pagerModel);

	FeedbackPager selectFeedBackPager(FeedbackPager pagerModel);

	SmsCodePager selectSmsCodePager(SmsCodePager pagerModel);
	
	int addSmg(SysNotice sysNotice);//添加
	
    SysNotice selectByPrimaryKey(Integer noticeId);//回显
    
    int updateByPrimaryKeySelective(SysNotice record);//修改通过唯一表id
    
    int addActive(SysActivity sysActivity);//添加热门活动
    
    SysActivity selectActiveByPrimaryKey(Integer activityId);//通过id找活动对象

    int updateActiveByPrimaryKey(SysActivity record);//修改热门活动
    
    int updateByPrimaryKeySelectiveP(SysActivity record);//修改热门活动图片
    
    int deleteByPrimaryKey(Integer noticeId);//删除消息公告
    
    int deleteByPrimaryKeyA(Integer activityId);//删除热门活动
    
    int deleteByPrimaryKeyF(Integer feedbackId);//删除意见反馈
    
    int updateStatusById(Integer feedbackId);//修改意见反馈状态
    
   
    
    
    
}
